Platform Explorer / Nuxeo Platform 2021.48

Contribution org.nuxeo.ecm.user.center.actions--actions

This contribution is part of XML component org.nuxeo.ecm.user.center.actions inside nuxeo-user-center-2021.48.10.jar /OSGI-INF/actions-contrib.xml

Extension Point

Extension point actions of component ActionService.

Registration Order

48
The registration order represents the order in which this contribution was registered on its target extention point. This will impact the override/merge behaviour when it is implemented on the target service, and is useful for proper customization of existing contributions.
You can influence this order by adding "require" tags in the containing component declaration, to make sure it is resolved after another component (see "Resolution Order" on components).

Contributed Items

  • <action id="home" label="label.main.tab.home" link="view_home" order="20" type="main_tab">
          <category>MAIN_TABS</category>
          <filter-id>not_transient_user</filter-id>
        </action>
  • <action icon="/icons/users_groups.png" id="UsersGroupsHome" label="command.manageMembers" link="/user_center_fragment.xhtml" order="60">
          <category>USER_CENTER</category>
          <filter-id>not_anonymous</filter-id>
          <filter-id>not_readonly</filter-id>
          <filter-id>not_transient_user</filter-id>
        </action>
  • <action id="UsersHome" label="label.userManager.users" link="/users/view_users.xhtml" order="10">
          <category>UsersGroupsHome_sub_tab</category>
          <filter-id>not_readonly</filter-id>
        </action>
  • <action id="GroupsHome" label="label.groupManager.groups" link="/users/view_groups.xhtml" order="20">
          <category>UsersGroupsHome_sub_tab</category>
          <filter-id>not_readonly</filter-id>
        </action>
  • <action icon="/icons/saved_searches.png" id="SavedSearches" label="user.center.saved.searches" link="/user_center_fragment.xhtml" order="70">
          <category>USER_CENTER</category>
          <filter-id>not_anonymous</filter-id>
          <filter-id>not_transient_user</filter-id>
          <filter id="SavedSearches_has_subtabs">
            <rule grant="false">
              <condition>
                #{webActions.getActionsList('SavedSearches_sub_tab').isEmpty()}
              </condition>
            </rule>
          </filter>
        </action>

XML Source

<extension point="actions" target="org.nuxeo.ecm.platform.actions.ActionService">

    <action id="home" label="label.main.tab.home" link="view_home" order="20" type="main_tab">
      <category>MAIN_TABS</category>
      <filter-id>not_transient_user</filter-id>
    </action>

    <!-- Users and Groups directory -->
    <action icon="/icons/users_groups.png" id="UsersGroupsHome" label="command.manageMembers" link="/user_center_fragment.xhtml" order="60">
      <category>USER_CENTER</category>
      <filter-id>not_anonymous</filter-id>
      <filter-id>not_readonly</filter-id>
      <filter-id>not_transient_user</filter-id>
    </action>
    <action id="UsersHome" label="label.userManager.users" link="/users/view_users.xhtml" order="10">
      <category>UsersGroupsHome_sub_tab</category>
      <filter-id>not_readonly</filter-id>
    </action>
    <action id="GroupsHome" label="label.groupManager.groups" link="/users/view_groups.xhtml" order="20">
      <category>UsersGroupsHome_sub_tab</category>
      <filter-id>not_readonly</filter-id>
    </action>

    <!-- Saved searches -->
    <action icon="/icons/saved_searches.png" id="SavedSearches" label="user.center.saved.searches" link="/user_center_fragment.xhtml" order="70">
      <category>USER_CENTER</category>
      <filter-id>not_anonymous</filter-id>
      <filter-id>not_transient_user</filter-id>
      <filter id="SavedSearches_has_subtabs">
        <rule grant="false">
          <condition>
            #{webActions.getActionsList('SavedSearches_sub_tab').isEmpty()}
          </condition>
        </rule>
      </filter>
    </action>

  </extension>